#!/usr/bin/python
# -*- coding: UTF-8 -*-

import web
import sys
import os

sys.path.append(os.path.dirname(__file__))

from vaccine import Vaccinecontrol
from control import Control
from event import Event
from animal import Animal

# URL mapping tuple
urls = (
'/web/vaccinecontrol', 'Vaccinecontrol',
'/web/control', 'Control',
'/web/event', 'Event',
'/web/animal', 'Animal'
)

app = web.application(urls, globals())
if __name__ == '__main__':
    app.run()
else:
    application = app.wsgifunc()

